MouseModifiers

fun MouseModifiers(primaryButtonDown: Boolean = false, middleButtonDown: Boolean = false, secondaryButtonDown: Boolean = false): MouseModifiers
fun MouseModifiers(primaryButtonDown: Boolean = false, middleButtonDown: Boolean = false, secondaryButtonDown: Boolean = false): MouseModifiers

Creates a new instance of MouseModifiers with the given parameters.

Since

8.0.0

Parameters

primaryButtonDown

Specifies whether the primary mouse button is pressed.

middleButtonDown

Specifies whether the middle mouse button is pressed.

secondaryButtonDown

Specifies whether the secondary mouse button is pressed.